package com.neutechi.day01.ex;

public class ex1 {
    public static void main(String args[]){
        double m1=0.128;
        double g=9.8;
        int h=384;
        int h1=0;
        double v=Math.sqrt(2*g*h);
        System.out.println(v);
        double Ek=0.5*m1*v*v;
        double Ep=m1*g*h1;
        System.out.println(Ek);
        System.out.println(Ep);
    }
}
